package com.example.building_material_mannager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Db {
    //调拨编号
    private String dbid;

    //产品调入仓库对象和id
    private Integer finid;
    private Factory infactory;
    //产品调出仓库对象和id
    private Integer foutid;
    private Factory outfactory;
    //调拨时间
    private Date    dbtime;
    //调拨状态
    private Integer dbstate;
    //调拨备注
    private String dbother;
    //调拨创建人对象和id
    private Integer uid;
    private User user;
    //调拨单最后操作时间
    private Date update_time;
    //调拨最后操作人对象和id
    private Integer lastuid;
    private User lastuser;
    //调拨详细单
    private List<DbType> dbTypes;
}
